package cn.iocoder.yudao.module.bpm.controller.admin.overdue.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 流程逾期提醒记录分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class OverdueReminderLogPageReqVO extends PageParam {

    @Schema(description = "流程实例ID", example = "2070")
    private String procInstId;

    @Schema(description = "逾期提醒状态：0-提醒任务关闭，1-提醒任务开启")
    private Integer reminderRunning;

    @Schema(description = "逾期提醒次数", example = "8732")
    private Integer reminderCount;

    @Schema(description = "逾期提醒状态：0-成功，1-失败", example = "2")
    private Integer reminderStatus;

    @Schema(description = "提醒失败的原因", example = "不对")
    private String reason;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}